package com.hoshiicloud.goods.dto.spu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* <p>
* 扩展SPU
* </p>
*
* @author zhangshuhu
* @since 2019-06-04
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ExtSpuVO对象", description="扩展SPU")
public class ExtSpuDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
    * spu id
    */
    @ApiModelProperty(value = "spu id")
    private String spuid;
    /**
    * 商品视频
    */
    @ApiModelProperty(value = "商品视频")
    private String spuVideo;
    /**
    * 图文描述
    */
    @ApiModelProperty(value = "图文描述")
    private String spuDescription;
    /**
    * 商品标题
    */
    @ApiModelProperty(value = "商品标题")
    private String title;
    /**
    * 商品主图
    */
    @ApiModelProperty(value = "商品主图")
    private String spuImage;
    /**
    * 是否开票
    */
    @ApiModelProperty(value = "是否开票")
    private Integer isInvoice;
    /**
    * 售后说明
    */
    @ApiModelProperty(value = "售后说明")
    private String serviceDescription;
    /**
    * 属性
    */
    @ApiModelProperty(value = "属性")
    private String extendProperty;
    /**
    * 规格
    */
    @ApiModelProperty(value = "规格")
    private String extendSpec;
    /**
    * 购买须知
    */
    @ApiModelProperty(value = "购买须知")
    private String notice;
    /**
    * 上架时间
    */
    @ApiModelProperty(value = "上架时间")
    private LocalDateTime uptime;
    /**
    * 下架时间
    */
    @ApiModelProperty(value = "下架时间")
    private LocalDateTime downtime;
    /**
    * 创建时间
    */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdtime;
    /**
    * 修改时间
    */
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updatedtime;
    /**
    * 建立人
    */
    @ApiModelProperty(value = "建立人")
    private String createdby;
    /**
    * 修改人
    */
    @ApiModelProperty(value = "修改人")
    private String updatedby;
    /**
    * 状态  0-档案 1-已审批 2-下架
    */
    @ApiModelProperty(value = "状态  0-档案 1-已审批 2-下架")
    private Integer status;
    /**
    * 是否删除
    */
    @ApiModelProperty(value = "是否删除")
    private Integer deleted;
}
